.container {
  position: relative;
  display: inline-block;
}

.canvas {
  border: 1px solid #ccc;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
  
  &.panning {
    cursor: grabbing;
  }
  
  &:not(.panning) {
    cursor: grab;
  }
}